package com.service;

import com.pojo.NoteTags;
import com.pojo.Result;
import java.util.List;

public interface NoteTagsService {
    Result<Void> addTagToNote(Integer noteId, Integer tagId);
    Result<Void> removeTagFromNote(Integer noteId, Integer tagId);
    Result<Void> removeAllTagsFromNote(Integer noteId);
    Result<Void> removeTagFromAllNotes(Integer tagId);
    Result<List<Integer>> getTagsByNoteId(Integer noteId);
    Result<List<Integer>> getNotesByTagId(Integer tagId);
    Result<Boolean> isTagAttachedToNote(Integer noteId, Integer tagId);
}